package com.csnf.mapper;

import csnf.com.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;

@Mapper
public interface GoodsMapper {
    int insert(Goods record);
    int insertid(Goods record);
    ArrayList<Goods> selectAll(@RequestParam(required = false) Integer id);

    int updateSaleStatus(Goods record);

}
